﻿<%@ Page Language="C#" MasterPageFile="~/Frame.Master" AutoEventWireup="true" CodeBehind="fmCarBreakRuleAddForm.aspx.cs"
    Inherits="Auto.BusMan.AddForm.fmCarBreakRuleAddForm" Title="违章记录增加单" %>

<%@ Register Assembly="Auto.WebControls" Namespace="Auto.WebControls" TagPrefix="ComboBox" %>
<%@ Register Assembly="Auto.Web.Common" Namespace="Auto.Web.Common" TagPrefix="cc1" %>
<%@ Register Src="ucFileShow.ascx" TagName="ucFileShow" TagPrefix="uc1" %>
<%@ Register Src="../UserControl/ucKeepSubDivLabel.ascx" TagName="ucKeepSubDivLabel"
    TagPrefix="uc2" %>
<%@ Register Src="../UserControl/ucPhraseLabel.ascx" TagName="ucPhraseLabel" TagPrefix="uc3" %>
<%@ Register Src="../UserControl/ucPhraseListBox.ascx" TagName="ucPhraseListBox"
    TagPrefix="uc4" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHeader" runat="server">
<style type="text/css">
        table
        {
            border: 1px solid #B1CDE3;
            padding: 0;
            margin: 0 auto;
            border-collapse: collapse;
        }
        .table
        {
            border: 0px solid black;
            padding: 0;
            margin: 0 auto;
            border-collapse: collapse;
        }
        td
        {
            border: 1px solid black;
            background: #fff;
            font-size: 12px;
            padding-left:10px;
            color: black;
            border-collapse: collapse;
        }
        .td
        {
            /*border: 1px solid #B1CDE3;*/
            background: #fff;
            font-size: 12px;
            padding: 0;
            color: Black;
            border-collapse: collapse;
            border-bottom: 0;
            border-top: 0;
        }
    </style>
    <script language="Javascript" type="text/javascript">
        function preview() {
            bdhtml = window.document.body.innerHTML;
            sprnstr = "<!--startprint-->";
            eprnstr = "<!--endprint-->";
            prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
            prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
            window.document.body.innerHTML = prnhtml; window.print();
        }
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <table align="center" style="width: 700px; margin-top: 10px;">
        <tr>
            <td colspan="3" style="text-align: center; font-weight: bold;">
                &nbsp;违章记录
            </td>
        </tr>
        <tr>
            <td style="width: 50px;">
                1&nbsp;
            </td>
            <td style="width: 150px;">
                单位名称<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblCompanyName" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                2</td>
            <td>
                车辆牌号<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblBusIdentificationNO" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                3</td>
            <td>
                驾驶员姓名<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblDriverName" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                4</td>
            <td>
                违章时间 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblBreakRuleTime" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                5</td>
            <td>
                违章性质<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <uc3:ucPhraseLabel ID="ucPhraseBreakRuleLabel" runat="server" 
                    PhraseClass="BMBreakRuleType" />
            </td>
        </tr>
        <tr>
            <td>
                6</td>
            <td>
                违章地点 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblBreakRuleLocation" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                7</td>
            <td>
                违章记录情况
            </td>
            <td>
                <asp:Label ID="lblBreakRuleNote" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                8</td>
            <td>
                罚款(元) <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblForfeit" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="3" style="text-align: center">
                <%--<input type="button" name="print" value="预览并打印" onclick="preview()"/>--%>
                <input type="button" value="   打     印   " onclick="javascript:window.print()" />
            </td>
        </tr>
    </table>
</asp:Content>
